/**
 * 
 */
package com.cqan.account.entity.resp;

import java.util.List;

import javax.xml.bind.annotation.XmlRootElement;

import com.cqan.account.entity.Favorite;
import com.cqan.entity.resp.PageInfoResp;
import com.cqan.orm.Page;

/**
 * @Description TODO
 * @author slaton.wu@gmail.com
 * @date 2012-7-19下午1:52:23
 *
 */
@SuppressWarnings("serial")
@XmlRootElement(name="pageInfo")
public class FavoritePageResp extends PageInfoResp<Favorite> {

	private List<Favorite> data;
	
	public FavoritePageResp(){}
	public FavoritePageResp(Page<Favorite> page){
		super(page);
		this.data = page.getResult();
	}
	public List<Favorite> getData() {
		return data;
	}
	public void setData(List<Favorite> data) {
		this.data = data;
	}
}
